package com.pansky.crm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author ：zhouzhiyong
 * @date ：Created in 2021/2/22 9:33
 * @description：部门实体
 */
@Data
@TableName("t_department")
public class Department implements Serializable {
    private static final long serialVersionUID = 2928915377010611100L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String name;
    private String shortName;
    private Integer managerId;
    private Integer parentId;
    private Integer sort;
    private Date updateTime;
    private Date createTime;
}
